package com.cn.dao.impl;

import java.io.Serializable;
import java.util.List;

import com.cn.dao.EmployeeDao;
import com.cn.entity.Employee;

public class EmployeeDaoImpl extends BasicDaoImpl implements EmployeeDao {
	
	public void sayHellow() {
		String hql="from Employee";
		List<Employee> list = this.executeQuery(hql,null);
		for(Employee emp:list) {
			System.out.println(emp.getJobinfo().getJob());
		}
		
	}
}
